package com.wangzhenyu.learn.business.login

import android.os.Bundle
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.WindowCompat
import com.wangzhenyu.common.util.log.LogUtil
import com.wangzhenyu.learn.R
import com.wangzhenyu.learn.test.bean.MySelf
import com.wangzhenyu.learn.test.bean.User


class HelloWorldActivity : AppCompatActivity() {


    override fun onCreate(savedInstanceState: Bundle?) {
        WindowCompat.setDecorFitsSystemWindows(window, false)
        super.onCreate(savedInstanceState)


        setContentView(R.layout.activity_hello_world)

        findViewById<TextView>(R.id.button3).text = User(MySelf()).age.toString()

    }


    override fun onStart() {
        super.onStart()

    }
}